package com.ibangnuo.manage.dao;

import com.ibangnuo.framework.domain.CommercialTenant;
import com.ibangnuo.framework.domain.Merchants;
import com.ibangnuo.framework.domain.OrderTotal;
import com.ibangnuo.framework.domain.request.order.OrderQueryCountRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author: wwy
 * @Date: 2020-01-02 15:56
 */
@Mapper
public interface OrderTotalMonthMapper {

    //登录者为代理商的月汇总
    List<Map> findMonthByAgentId(Map<String, String> map);

    //登录者为商户的月汇总
    List<Map> findMonthByCommercialId(Map<String, String> map);

    //代理商下的商户的月汇总
    List<Map> findByCommercialId(Map<String, String> map);

    //代理商下的代理商的月汇总
    List<Map> findByAgentId(Map<String, String> map);

    List<Map> findAlipayByAId(Map map);

    List<Map> findWxByAId(Map map);

    List<Map> findAlipayByCId(Map map);

    List<Map> findWxByCId(Map map);
}
